Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: continuous deployment #2019

Closed
wants to merge 8 commits into from
Closed

Conversation

lonix1
Copy link
Contributor

@lonix1 lonix1 commented Jul 20, 2023

Continuous deployment page, for newbies like me.

Thanks to @techknowlogick who advised me on discord.

lonix1 added 2 commits July 20, 2023 06:09
continuous deployment page
for newbies like me
@woodpecker-bot
Copy link
Collaborator

woodpecker-bot commented Jul 20, 2023

Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-2019.surge.sh

6543
6543 previously approved these changes Jul 21, 2023

This option is complex and only suitable in an environment in which you're already using configuration management.

## Using webhooks (recommended)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this has to do with WP and why we should recommend it?

Copy link
Contributor Author

@lonix1 lonix1 Jul 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is one option for doing CD. The same can be done with drone. The last step invokes ansible to do the deployment. Personally I'm using ansible but I think it;s overkill unless you are deploying to more than one server. For multiple servers (and if you are not using k8s) then it's a good option.

@@ -0,0 +1,41 @@
# Continuous Deployment
Copy link
Member

@anbraten anbraten Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this is a nice overview, but I think its to generic to be actually helpful. I think we should rather add a new category: cookbook #316 or articles to our new blog with concrete tutorial styled guides. So something like to deploy a docker container with ansible you would first build the container with WP, add it to a registry and then run an ansible script to deploy the new container with woodpecker configs included.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you create the cookbook page I can convert this to that format. Just tell me what you want me to do?

@6543
Copy link
Member

6543 commented Jul 30, 2023

I still think we should have a page in docs dedicated to "CD" as I already refer to this pull, while talking to people about woodpecker and if it can do CD too

I agree that the docs structure should be bit restructured

@lonix1
Copy link
Contributor Author

lonix1 commented Jul 31, 2023

Note to self: must also add to that list Watchtower, Renovate.

@6543 6543 added wip and removed skip-changelog labels Aug 9, 2023
@6543 6543 added this to the 1.1.0 milestone Aug 9, 2023
@pat-s pat-s modified the milestones: 2.0.0, 2.x.x Oct 13, 2023
@6543
Copy link
Member

6543 commented Dec 23, 2023

after #3002 is in I guess this pull could be updated?

@qwerty287
Copy link
Contributor

Yes, that's what #3002 is for

@6543 6543 dismissed their stale review December 23, 2023 11:42

outdated

@qwerty287
Copy link
Contributor

qwerty287 commented Jan 1, 2024

-> #3098

@qwerty287 qwerty287 removed this from the 3.x.x milestone Jan 7, 2024
6543 added a commit that referenced this pull request Jan 9, 2024
Supersedes #2019

---------

Co-authored-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@lonix1 lonix1 deleted the patch-2 branch January 10, 2024 04:03
fernandrone pushed a commit to quintoandar/woodpecker that referenced this pull request Feb 1, 2024
Supersedes woodpecker-ci#2019

---------

Co-authored-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants